package com.bw.dao;

import com.bw.domain.Addre;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AddreDao {
    //查询
    List<Addre> getList1(@Param("addr") String addr,@Param("name") String name);
    //添加
    int tjAdd(@Param("uname") String uname,@Param("cname") String cname,@Param("pwd") String pwd,@Param("name") String name,@Param("phone") String phone,@Param("brithday") String brithday,@Param("sex") String sex,@Param("ctime") String ctime);
    //删除
    int scDele(Integer[] ids);

}
